<template>
    <div class="iframe-container">
        <iframe :src="url" scrolling="auto" frameborder="0" class="iframe"></iframe>
    </div>
</template>

<script setup>
defineProps({
    url: {
        type: String
    }
})
</script>

<style scoped>
.iframe-container {
    width: 100%;
    height: 100%;
}
.iframe{
    width: 100%;
    height: 100%;
}
</style>